package com.oscar.ehome.bean.loginbean;

/**
 * Created by Administrator on 2017/3/24.
 */

public class ParentBean {
    /**
     * id : 2
     * isNewRecord : false
     * loginFlag : 1
     * roleNames :
     * admin : false
     * roleEnNames :
     */

    private String id;
    private boolean isNewRecord;
    private String loginFlag;
    private String roleNames;
    private boolean admin;
    private String roleEnNames;

    public String getId() {
        if (id == null) {
            id = "";
        }
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isIsNewRecord() {
        return isNewRecord;
    }

    public void setIsNewRecord(boolean isNewRecord) {
        this.isNewRecord = isNewRecord;
    }

    public String getLoginFlag() {
        if (loginFlag == null) {
            loginFlag = "";
        }
        return loginFlag;
    }

    public void setLoginFlag(String loginFlag) {
        this.loginFlag = loginFlag;
    }

    public String getRoleNames() {
        if (roleNames == null) {
            roleNames = "";
        }
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public boolean isAdmin() {
        return admin;
    }

    public void setAdmin(boolean admin) {
        this.admin = admin;
    }

    public String getRoleEnNames() {
        if (roleEnNames == null) {
            roleEnNames = "";
        }
        return roleEnNames;
    }

    public void setRoleEnNames(String roleEnNames) {
        this.roleEnNames = roleEnNames;
    }

}
